﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class ArrayExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class ArrayExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Collections.ArrayExtensions">
  
  
  <h1 id="CodeJam_Collections_ArrayExtensions" data-uid="CodeJam.Collections.ArrayExtensions" class="text-break">Class ArrayExtensions
  </h1>
  <div class="markdown level0 summary"><p><span class="xref">System.Array</span> class extensions.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">ArrayExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Collections.html">CodeJam.Collections</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Collections_ArrayExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ArrayExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Any__1___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Any%60%601(%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L182">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Any_" data-uid="CodeJam.Collections.ArrayExtensions.Any*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Any__1___0___" data-uid="CodeJam.Collections.ArrayExtensions.Any``1(``0[])">Any&lt;T&gt;(T[])</h4>
  <div class="markdown level1 summary"><p>Checks if any element in array exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool Any&lt;T&gt;(this T[] array)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>Array to check.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>True</code>, if array is not empty.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of array item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="CodeJam_Collections_ArrayExtensions_Any__1___0____remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>This method performs fast check instead of creating enumerator</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_AsReadOnly__1___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.AsReadOnly%60%601(%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L17">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_AsReadOnly_" data-uid="CodeJam.Collections.ArrayExtensions.AsReadOnly*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_AsReadOnly__1___0___" data-uid="CodeJam.Collections.ArrayExtensions.AsReadOnly``1(``0[])">AsReadOnly&lt;T&gt;(T[])</h4>
  <div class="markdown level1 summary"><p>Returns a read-only wrapper for the specified array.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ReadOnlyCollection&lt;T&gt; AsReadOnly&lt;T&gt;(this T[] array)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based array to wrap in a read-only <span class="xref">System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;</span>  wrapper. </p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.ObjectModel.ReadOnlyCollection</span>&lt;T&gt;</td>
        <td><p>A read-only <span class="xref">System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;</span> wrapper for the specified array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_BinarySearch__1___0_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.BinarySearch%60%601(%60%600%5B%5D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L43">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_BinarySearch_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_BinarySearch__1___0_____0_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch``1(``0[],``0)">BinarySearch&lt;T&gt;(T[], T)</h4>
  <div class="markdown level1 summary"><p>Searches an entire one-dimensional sorted <span class="xref">System.Array</span> for a specific element, using the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implemented by each element of the <span class="xref">System.Array</span> and by the specified object.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int BinarySearch&lt;T&gt;(this T[] array, T value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The sorted one-dimensional, zero-based <span class="xref">System.Array</span> to search. </p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The index of the specified <code data-dev-comment-type="paramref" class="paramref">value</code> in the specified <code data-dev-comment-type="paramref" class="paramref">array</code>, if <code data-dev-comment-type="paramref" class="paramref">value</code> is found. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is less than one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of the index of the first element that is larger than <code data-dev-comment-type="paramref" class="paramref">value</code>. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is greater than any of the elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of (the index of the last element plus 1).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">value</code> does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface, and the search encounters an element that does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_BinarySearch__1___0_____0_System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.BinarySearch%60%601(%60%600%5B%5D%2C%60%600%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L58">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_BinarySearch_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_BinarySearch__1___0_____0_System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch``1(``0[],``0,System.Collections.Generic.IComparer{``0})">BinarySearch&lt;T&gt;(T[], T, IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches an entire one-dimensional sorted <span class="xref">System.Array</span> for a value using the specified <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int BinarySearch&lt;T&gt;(this T[] array, T value, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The sorted one-dimensional, zero-based <span class="xref">System.Array</span> to search.  </p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to search for.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> implementation to use when comparing elements.-or- null to use the <span class="xref">System.IComparable&lt;T&gt;</span> implementation of each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The index of the specified <code data-dev-comment-type="paramref" class="paramref">value</code> in the specified <code data-dev-comment-type="paramref" class="paramref">array</code>, if <code data-dev-comment-type="paramref" class="paramref">value</code> is found. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is less than one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of the index of the first element that is larger than <code data-dev-comment-type="paramref" class="paramref">value</code>. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is greater than any of the elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of (the index of the last element plus 1).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, and <code data-dev-comment-type="paramref" class="paramref">value</code> is of a type that is not compatible with the elements of <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, <code data-dev-comment-type="paramref" class="paramref">value</code> does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface, and the search encounters an element that does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_BinarySearch__1___0___System_Int32_System_Int32___0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.BinarySearch%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L76">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_BinarySearch_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_BinarySearch__1___0___System_Int32_System_Int32___0_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch``1(``0[],System.Int32,System.Int32,``0)">BinarySearch&lt;T&gt;(T[], Int32, Int32, T)</h4>
  <div class="markdown level1 summary"><p>Searches a range of elements in a one-dimensional sorted <span class="xref">System.Array</span> for a value, using the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implemented by each element of the <span class="xref">System.Array</span> and by the specified value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int BinarySearch&lt;T&gt;(this T[] array, int index, int length, T value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The sorted one-dimensional, zero-based <span class="xref">System.Array</span> to search. </p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the range to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The length of the range to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The index of the specified <code data-dev-comment-type="paramref" class="paramref">value</code> in the specified <code data-dev-comment-type="paramref" class="paramref">array</code>, if <code data-dev-comment-type="paramref" class="paramref">value</code> is found. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is less than one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of the index of the first element that is larger than <code data-dev-comment-type="paramref" class="paramref">value</code>. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is greater than any of the elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of (the index of the last element plus 1).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> do not specify a valid range in <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">value</code> is of a type that is not compatible with the elements of <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">value</code> does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface, and the search encounters an element that does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_BinarySearch__1___0___System_Int32_System_Int32___0_System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.BinarySearch%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32%2C%60%600%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L95">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_BinarySearch_" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_BinarySearch__1___0___System_Int32_System_Int32___0_System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.ArrayExtensions.BinarySearch``1(``0[],System.Int32,System.Int32,``0,System.Collections.Generic.IComparer{``0})">BinarySearch&lt;T&gt;(T[], Int32, Int32, T, IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches a range of elements in a one-dimensional sorted <span class="xref">System.Array</span> for a value, using the specified <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int BinarySearch&lt;T&gt;(this T[] array, int index, int length, T value, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The sorted one-dimensional, zero-based <span class="xref">System.Array</span> to search. </p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the range to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The length of the range to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to search for.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> implementation to use when comparing elements.-or- null to use the <span class="xref">System.IComparable&lt;T&gt;</span> implementation of each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The index of the specified <code data-dev-comment-type="paramref" class="paramref">value</code> in the specified <code data-dev-comment-type="paramref" class="paramref">array</code>, if <code data-dev-comment-type="paramref" class="paramref">value</code> is found. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is less than one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of the index of the first element that is larger than <code data-dev-comment-type="paramref" class="paramref">value</code>. If <code data-dev-comment-type="paramref" class="paramref">value</code> is not found and <code data-dev-comment-type="paramref" class="paramref">value</code> is greater than any of the elements in <code data-dev-comment-type="paramref" class="paramref">array</code>, a negative number which is the bitwise complement of (the index of the last element plus 1).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> do not specify a valid range in <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, and <code data-dev-comment-type="paramref" class="paramref">value</code> is of a type that is not compatible with the elements of <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, <code data-dev-comment-type="paramref" class="paramref">value</code> does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface, and the search encounters an element that does not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Clear_System_Array_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Clear(System.Array)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L116">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Clear_" data-uid="CodeJam.Collections.ArrayExtensions.Clear*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Clear_System_Array_" data-uid="CodeJam.Collections.ArrayExtensions.Clear(System.Array)">Clear(Array)</h4>
  <div class="markdown level1 summary"><p>Sets all elements in an <span class="xref">System.Array</span> to the default value of each element type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Clear(this Array array)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">array</span></td>
        <td><p>The <span class="xref">System.Array</span> whose elements need to be cleared.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Clear_System_Array_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Clear(System.Array%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L109">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Clear_" data-uid="CodeJam.Collections.ArrayExtensions.Clear*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Clear_System_Array_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.Clear(System.Array,System.Int32,System.Int32)">Clear(Array, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Sets a range of elements in the <span class="xref">System.Array</span> to zero, to false, or to null, depending on the element type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Clear(this Array array, int index, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">array</span></td>
        <td><p>The <span class="xref">System.Array</span> whose elements need to be cleared.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the range of elements to clear.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The number of elements to clear.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.IndexOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.-or-The sum of <code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the size of the <span class="xref">System.Array</span>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_ConstrainedCopy_System_Array_System_Int32_System_Array_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.ConstrainedCopy(System.Array%2CSystem.Int32%2CSystem.Array%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L134">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_ConstrainedCopy_" data-uid="CodeJam.Collections.ArrayExtensions.ConstrainedCopy*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_ConstrainedCopy_System_Array_System_Int32_System_Array_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.ConstrainedCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)">ConstrainedCopy(Array, Int32, Array, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Copies a range of elements from an <span class="xref">System.Array</span> starting at the specified source index and pastes them to another <span class="xref">System.Array</span> starting at the specified destination index.  Guarantees that all changes are undone if the copy does not succeed completely.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void ConstrainedCopy(this Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">sourceArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that contains the data to copy.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">sourceIndex</span></td>
        <td><p>A 32-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> at which copying begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">destinationArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that receives the data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">destinationIndex</span></td>
        <td><p>A 32-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> at which storing begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>A 32-bit integer that represents the number of elements to copy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">destinationArray</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> have different ranks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArrayTypeMismatchException</span></td>
        <td><p>The <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> type is neither the same as nor derived from the <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> type.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidCastException</span></td>
        <td><p>At least one element in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> cannot be cast to the type of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> is less than the lower bound of the first dimension of <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> is less than the lower bound of the first dimension of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_ConvertAll__2___0___System_Converter___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.ConvertAll%60%602(%60%600%5B%5D%2CSystem.Converter%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L144">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_ConvertAll_" data-uid="CodeJam.Collections.ArrayExtensions.ConvertAll*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_ConvertAll__2___0___System_Converter___0___1__" data-uid="CodeJam.Collections.ArrayExtensions.ConvertAll``2(``0[],System.Converter{``0,``1})">ConvertAll&lt;TInput, TOutput&gt;(TInput[], Converter&lt;TInput, TOutput&gt;)</h4>
  <div class="markdown level1 summary"><p>Converts an array of one type to an array of another type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TOutput[] ConvertAll&lt;TInput, TOutput&gt;(this TInput[] array, Converter&lt;TInput, TOutput&gt; converter)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>TInput[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to convert to a target type.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Converter</span>&lt;TInput, TOutput&gt;</td>
        <td><span class="parametername">converter</span></td>
        <td><p>A <span class="xref">System.Converter&lt;TInput, TOutput&gt;</span> that converts each element from one type to another type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>TOutput[]</td>
        <td><p>An array of the target type containing the converted elements from the source array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TInput</span></td>
        <td><p>The type of the elements of the source array.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TOutput</span></td>
        <td><p>The type of the elements of the target array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">converter</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Array_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Copy(System.Array%2CSystem.Array%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L165">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Copy_" data-uid="CodeJam.Collections.ArrayExtensions.Copy*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Array_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.Copy(System.Array,System.Array,System.Int32)">Copy(Array, Array, Int32)</h4>
  <div class="markdown level1 summary"><p>Copies a range of elements from an <span class="xref">System.Array</span> starting at the first element and pastes them into another <span class="xref">System.Array</span> starting at the first element. The length is specified as a 32-bit integer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Copy(this Array sourceArray, Array destinationArray, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">sourceArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that contains the data to copy.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">destinationArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that receives the data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>A 32-bit integer that represents the number of elements to copy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">destinationArray</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> have different ranks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArrayTypeMismatchException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> are of incompatible types.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidCastException</span></td>
        <td><p>At least one element in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> cannot be cast to the type of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements in <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Array_System_Int64_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Copy(System.Array%2CSystem.Array%2CSystem.Int64)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L183">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Copy_" data-uid="CodeJam.Collections.ArrayExtensions.Copy*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Array_System_Int64_" data-uid="CodeJam.Collections.ArrayExtensions.Copy(System.Array,System.Array,System.Int64)">Copy(Array, Array, Int64)</h4>
  <div class="markdown level1 summary"><p>Copies a range of elements from an <span class="xref">System.Array</span> starting at the first element and pastes them into another <span class="xref">System.Array</span> starting at the first element. The length is specified as a 64-bit integer.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Copy(this Array sourceArray, Array destinationArray, long length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">sourceArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that contains the data to copy.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">destinationArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that receives the data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>A 64-bit integer that represents the number of elements to copy. The integer must be between zero and <span class="xref">System.Int32.MaxValue</span>, inclusive.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">destinationArray</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> have different ranks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArrayTypeMismatchException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> are of incompatible types.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidCastException</span></td>
        <td><p>At least one element in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> cannot be cast to the type of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is less than 0 or greater than <span class="xref">System.Int32.MaxValue</span>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements in <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Int32_System_Array_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Copy(System.Array%2CSystem.Int32%2CSystem.Array%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L223">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Copy_" data-uid="CodeJam.Collections.ArrayExtensions.Copy*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Int32_System_Array_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)">Copy(Array, Int32, Array, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Copies a range of elements from an <span class="xref">System.Array</span> starting at the specified source index and pastes them to another <span class="xref">System.Array</span> starting at the specified destination index. The length and the indexes are specified as 64-bit integers.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Copy(this Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">sourceArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that contains the data to copy.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">sourceIndex</span></td>
        <td><p>A 64-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> at which copying begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">destinationArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that receives the data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">destinationIndex</span></td>
        <td><p>A 64-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> at which storing begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>A 64-bit integer that represents the number of elements to copy. The integer must be between zero and <span class="xref">System.Int32.MaxValue</span>, inclusive.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">destinationArray</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> have different ranks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArrayTypeMismatchException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> are of incompatible types.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidCastException</span></td>
        <td><p>At least one element in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> cannot be cast to the type of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> is outside the range of valid indexes for the <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> is outside the range of valid indexes for the <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than 0 or greater than <span class="xref">System.Int32.MaxValue</span>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Int64_System_Array_System_Int64_System_Int64_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Copy(System.Array%2CSystem.Int64%2CSystem.Array%2CSystem.Int64%2CSystem.Int64)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L203">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Copy_" data-uid="CodeJam.Collections.ArrayExtensions.Copy*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Copy_System_Array_System_Int64_System_Array_System_Int64_System_Int64_" data-uid="CodeJam.Collections.ArrayExtensions.Copy(System.Array,System.Int64,System.Array,System.Int64,System.Int64)">Copy(Array, Int64, Array, Int64, Int64)</h4>
  <div class="markdown level1 summary"><p>Copies a range of elements from an <span class="xref">System.Array</span> starting at the specified source index and pastes them to another <span class="xref">System.Array</span> starting at the specified destination index. The length and the indexes are specified as 32-bit integers.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Copy(this Array sourceArray, long sourceIndex, Array destinationArray, long destinationIndex, long length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">sourceArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that contains the data to copy.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">sourceIndex</span></td>
        <td><p>A 32-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> at which copying begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">destinationArray</span></td>
        <td><p>The <span class="xref">System.Array</span> that receives the data.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">destinationIndex</span></td>
        <td><p>A 32-bit integer that represents the index in the <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> at which storing begins.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>A 32-bit integer that represents the number of elements to copy.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">destinationArray</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> have different ranks.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArrayTypeMismatchException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceArray</code> and <code data-dev-comment-type="paramref" class="paramref">destinationArray</code> are of incompatible types.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidCastException</span></td>
        <td><p>At least one element in <code data-dev-comment-type="paramref" class="paramref">sourceArray</code> cannot be cast to the type of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> is less than the lower bound of the first dimension of <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> is less than the lower bound of the first dimension of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">sourceIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">sourceArray</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is greater than the number of elements from <code data-dev-comment-type="paramref" class="paramref">destinationIndex</code> to the end of <code data-dev-comment-type="paramref" class="paramref">destinationArray</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_Byte___System_Byte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.Byte%5B%5D%2CSystem.Byte%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L25">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_Byte___System_Byte___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.Byte[],System.Byte[])">EqualsTo(Byte[], Byte[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this byte[] a, byte[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Byte</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Byte</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_Guid___System_Guid___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.Guid%5B%5D%2CSystem.Guid%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L322">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_Guid___System_Guid___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.Guid[],System.Guid[])">EqualsTo(Guid[], Guid[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this Guid[] a, Guid[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Guid</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Guid</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int16___System_Int16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int16%5B%5D%2CSystem.Int16%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L91">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int16___System_Int16___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int16[],System.Int16[])">EqualsTo(Int16[], Int16[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this short[] a, short[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int16</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int16</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int32___System_Int32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int32%5B%5D%2CSystem.Int32%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L157">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int32___System_Int32___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int32[],System.Int32[])">EqualsTo(Int32[], Int32[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this int[] a, int[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int64___System_Int64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int64%5B%5D%2CSystem.Int64%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L223">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_Int64___System_Int64___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.Int64[],System.Int64[])">EqualsTo(Int64[], Int64[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this long[] a, long[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_SByte___System_SByte___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.SByte%5B%5D%2CSystem.SByte%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L58">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_SByte___System_SByte___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.SByte[],System.SByte[])">EqualsTo(SByte[], SByte[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this sbyte[] a, sbyte[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.SByte</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.SByte</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_String___System_String___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.String%5B%5D%2CSystem.String%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L22">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_String___System_String___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.String[],System.String[])">EqualsTo(String[], String[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this string[] a, string[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_String___System_String___System_StringComparison_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.String%5B%5D%2CSystem.String%5B%5D%2CSystem.StringComparison)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L53">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_String___System_String___System_StringComparison_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.String[],System.String[],System.StringComparison)">EqualsTo(String[], String[], StringComparison)</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.
A parameter specifies the culture, case, and sort rules used in the comparison.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this string[] a, string[] b, StringComparison comparison)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.StringComparison</span></td>
        <td><span class="parametername">comparison</span></td>
        <td><p>One of the enumeration values that specifies the rules for the comparison.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_TimeSpan___System_TimeSpan___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.TimeSpan%5B%5D%2CSystem.TimeSpan%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L289">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_TimeSpan___System_TimeSpan___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.TimeSpan[],System.TimeSpan[])">EqualsTo(TimeSpan[], TimeSpan[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this TimeSpan[] a, TimeSpan[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.TimeSpan</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.TimeSpan</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt16___System_UInt16___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt16%5B%5D%2CSystem.UInt16%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L124">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt16___System_UInt16___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt16[],System.UInt16[])">EqualsTo(UInt16[], UInt16[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this ushort[] a, ushort[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.UInt16</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt16</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt32___System_UInt32___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt32%5B%5D%2CSystem.UInt32%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L190">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt32___System_UInt32___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt32[],System.UInt32[])">EqualsTo(UInt32[], UInt32[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this uint[] a, uint[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.UInt32</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt32</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt64___System_UInt64___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt64%5B%5D%2CSystem.UInt64%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.generated.cs/#L256">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo_System_UInt64___System_UInt64___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo(System.UInt64[],System.UInt64[])">EqualsTo(UInt64[], UInt64[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo(this ulong[] a, ulong[] b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.UInt64</span>[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt64</span>[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo__1___0_____0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo%60%601(%60%600%5B%5D%2C%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L86">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo__1___0_____0___" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo``1(``0[],``0[])">EqualsTo&lt;T&gt;(T[], T[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo&lt;T&gt;(this T[] a, T[] b)where T : IEquatable&lt;T&gt;</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals to <code data-dev-comment-type="paramref" class="paramref">b</code>, <code>false</code> otherwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of array item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo__1___0_____0___System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo%60%601(%60%600%5B%5D%2C%60%600%5B%5D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L153">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo__1___0_____0___System_Collections_Generic_IEqualityComparer___0__" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo``1(``0[],``0[],System.Collections.Generic.IEqualityComparer{``0})">EqualsTo&lt;T&gt;(T[], T[], IEqualityComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo&lt;T&gt;(this T[] a, T[] b, IEqualityComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>Instance of <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> to compare values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals to <code data-dev-comment-type="paramref" class="paramref">b</code>, <code>false</code> otherwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of array item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_EqualsTo__1_System_Nullable___0____System_Nullable___0____.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.EqualsTo%60%601(System.Nullable%7B%60%600%7D%5B%5D%2CSystem.Nullable%7B%60%600%7D%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.cs/#L123">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_EqualsTo_" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_EqualsTo__1_System_Nullable___0____System_Nullable___0____" data-uid="CodeJam.Collections.ArrayExtensions.EqualsTo``1(System.Nullable{``0}[],System.Nullable{``0}[])">EqualsTo&lt;T&gt;(Nullable&lt;T&gt;[], Nullable&lt;T&gt;[])</h4>
  <div class="markdown level1 summary"><p>Returns true, if length and content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals <code data-dev-comment-type="paramref" class="paramref">b</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool EqualsTo&lt;T&gt;(this T? [] a, T? [] b)where T : struct, IEquatable&lt;T&gt;</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Nullable</span>&lt;T&gt;[]</td>
        <td><span class="parametername">a</span></td>
        <td><p>The first array to compare.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Nullable</span>&lt;T&gt;[]</td>
        <td><span class="parametername">b</span></td>
        <td><p>The second array to compare.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if content of <code data-dev-comment-type="paramref" class="paramref">a</code> equals to <code data-dev-comment-type="paramref" class="paramref">b</code>, <code>false</code> otherwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of array item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Exists__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Exists%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L234">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Exists_" data-uid="CodeJam.Collections.ArrayExtensions.Exists*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Exists__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.Exists``1(``0[],System.Predicate{``0})">Exists&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Determines whether the specified array contains elements that match the conditions defined by the specified predicate.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool Exists&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the elements to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true if <code data-dev-comment-type="paramref" class="paramref">array</code> contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Find__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Find%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L250">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Find_" data-uid="CodeJam.Collections.ArrayExtensions.Find*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Find__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.Find``1(``0[],System.Predicate{``0})">Find&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the
first occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T Find&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>The first element that matches the conditions defined by the specified predicate, if found; otherwise,
the default value for type <code data-dev-comment-type="typeparamref" class="typeparamref">T</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindAll__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindAll%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L260">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindAll_" data-uid="CodeJam.Collections.ArrayExtensions.FindAll*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindAll__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindAll``1(``0[],System.Predicate{``0})">FindAll&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Retrieves all the elements that match the conditions defined by the specified predicate.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T[] FindAll&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the elements to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><p>An <span class="xref">System.Array</span> containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty <span class="xref">System.Array</span>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Int32_System_Int32_System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindIndex%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L299">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Int32_System_Int32_System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex``1(``0[],System.Int32,System.Int32,System.Predicate{``0})">FindIndex&lt;T&gt;(T[], Int32, Int32, Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the <span class="xref">System.Array</span> that starts at the specified index and contains the specified number of elements.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindIndex&lt;T&gt;(this T[] array, int startIndex, int count, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of elements in the section to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">count</code> is less than zero.-or-<code data-dev-comment-type="paramref" class="paramref">startIndex</code> and <code data-dev-comment-type="paramref" class="paramref">count</code> do not specify a valid section in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Int32_System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindIndex%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L285">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Int32_System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex``1(``0[],System.Int32,System.Predicate{``0})">FindIndex&lt;T&gt;(T[], Int32, Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the <span class="xref">System.Array</span> that extends from the specified index to the last element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindIndex&lt;T&gt;(this T[] array, int startIndex, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindIndex%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L272">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindIndex__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindIndex``1(``0[],System.Predicate{``0})">FindIndex&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindIndex&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindLast__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindLast%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L314">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindLast_" data-uid="CodeJam.Collections.ArrayExtensions.FindLast*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindLast__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindLast``1(``0[],System.Predicate{``0})">FindLast&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the last
occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T FindLast&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default
value for type <code data-dev-comment-type="typeparamref" class="typeparamref">T</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Int32_System_Int32_System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindLastIndex%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L351">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindLastIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Int32_System_Int32_System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex``1(``0[],System.Int32,System.Int32,System.Predicate{``0})">FindLastIndex&lt;T&gt;(T[], Int32, Int32, Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the <span class="xref">System.Array</span> that contains the specified number of elements and ends at the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindLastIndex&lt;T&gt;(this T[] array, int startIndex, int count, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the backward search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of elements in the section to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">count</code> is less than zero.-or-<code data-dev-comment-type="paramref" class="paramref">startIndex</code> and <code data-dev-comment-type="paramref" class="paramref">count</code> do not specify a valid section in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Int32_System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindLastIndex%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L337">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindLastIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Int32_System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex``1(``0[],System.Int32,System.Predicate{``0})">FindLastIndex&lt;T&gt;(T[], Int32, Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the <span class="xref">System.Array</span> that extends from the first element to the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindLastIndex&lt;T&gt;(this T[] array, int startIndex, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the backward search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.FindLastIndex%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L324">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_FindLastIndex_" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_FindLastIndex__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.FindLastIndex``1(``0[],System.Predicate{``0})">FindLastIndex&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int FindLastIndex&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions of the element to search for.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of an element that matches the conditions defined by <code data-dev-comment-type="paramref" class="paramref">match</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_ForEach__1___0___System_Action___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.ForEach%60%601(%60%600%5B%5D%2CSystem.Action%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L362">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_ForEach_" data-uid="CodeJam.Collections.ArrayExtensions.ForEach*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_ForEach__1___0___System_Action___0__" data-uid="CodeJam.Collections.ArrayExtensions.ForEach``1(``0[],System.Action{``0})">ForEach&lt;T&gt;(T[], Action&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Performs the specified action on each element of the specified array.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void ForEach&lt;T&gt;(this T[] array, Action&lt;T&gt; action)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> on whose elements the action is to be performed.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Action</span>&lt;T&gt;</td>
        <td><span class="parametername">action</span></td>
        <td><p>The <span class="xref">System.Action&lt;T&gt;</span> to perform on each element of <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">action</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.IndexOf%60%601(%60%600%5B%5D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L373">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_IndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf``1(``0[],``0)">IndexOf&lt;T&gt;(T[], T)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the first occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int IndexOf&lt;T&gt;(this T[] array, T value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the entire <code data-dev-comment-type="paramref" class="paramref">array</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.IndexOf%60%601(%60%600%5B%5D%2C%60%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L386">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_IndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf``1(``0[],``0,System.Int32)">IndexOf&lt;T&gt;(T[], T, Int32)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the first occurrence within the range of elements in the <span class="xref">System.Array</span> that extends from the specified index to the last element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int IndexOf&lt;T&gt;(this T[] array, T value, int startIndex)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the search. 0 (zero) is valid in an empty array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the range of elements in <code data-dev-comment-type="paramref" class="paramref">array</code> that extends from <code data-dev-comment-type="paramref" class="paramref">startIndex</code> to the last element, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.IndexOf%60%601(%60%600%5B%5D%2C%60%600%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L400">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_IndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_IndexOf__1___0_____0_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.IndexOf``1(``0[],``0,System.Int32,System.Int32)">IndexOf&lt;T&gt;(T[], T, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the first occurrence within the range of elements in the <span class="xref">System.Array</span> that starts at the specified index and contains the specified number of elements.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int IndexOf&lt;T&gt;(this T[] array, T value, int startIndex, int count)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the search. 0 (zero) is valid in an empty array.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of elements in the section to search.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the range of elements in <code data-dev-comment-type="paramref" class="paramref">array</code> that starts at <code data-dev-comment-type="paramref" class="paramref">startIndex</code> and contains the number of elements specified in <code data-dev-comment-type="paramref" class="paramref">count</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">count</code> is less than zero.-or-<code data-dev-comment-type="paramref" class="paramref">startIndex</code> and <code data-dev-comment-type="paramref" class="paramref">count</code> do not specify a valid section in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.LastIndexOf%60%601(%60%600%5B%5D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L410">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_LastIndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf``1(``0[],``0)">LastIndexOf&lt;T&gt;(T[], T)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the last occurrence within the entire <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int LastIndexOf&lt;T&gt;(this T[] array, T value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the entire <code data-dev-comment-type="paramref" class="paramref">array</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.LastIndexOf%60%601(%60%600%5B%5D%2C%60%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L423">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_LastIndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf``1(``0[],``0,System.Int32)">LastIndexOf&lt;T&gt;(T[], T, Int32)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the last occurrence within the range of elements in the <span class="xref">System.Array</span> that extends from the first element to the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int LastIndexOf&lt;T&gt;(this T[] array, T value, int startIndex)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the backward search.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the range of elements in <code data-dev-comment-type="paramref" class="paramref">array</code> that extends from the first element to <code data-dev-comment-type="paramref" class="paramref">startIndex</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.LastIndexOf%60%601(%60%600%5B%5D%2C%60%600%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L437">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_LastIndexOf_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_LastIndexOf__1___0_____0_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.LastIndexOf``1(``0[],``0,System.Int32,System.Int32)">LastIndexOf&lt;T&gt;(T[], T, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified object and returns the index of the last occurrence within the range of elements in the <span class="xref">System.Array</span> that contains the specified number of elements and ends at the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int LastIndexOf&lt;T&gt;(this T[] array, T value, int startIndex, int count)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The object to locate in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">startIndex</span></td>
        <td><p>The zero-based starting index of the backward search.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">count</span></td>
        <td><p>The number of elements in the section to search.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the last occurrence of <code data-dev-comment-type="paramref" class="paramref">value</code> within the range of elements in <code data-dev-comment-type="paramref" class="paramref">array</code> that contains the number of elements specified in <code data-dev-comment-type="paramref" class="paramref">count</code> and ends at <code data-dev-comment-type="paramref" class="paramref">startIndex</code>, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">startIndex</code> is outside the range of valid indexes for <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">count</code> is less than zero.-or-<code data-dev-comment-type="paramref" class="paramref">startIndex</code> and <code data-dev-comment-type="paramref" class="paramref">count</code> do not specify a valid section in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Reverse_System_Array_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Reverse(System.Array)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L449">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Reverse_" data-uid="CodeJam.Collections.ArrayExtensions.Reverse*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Reverse_System_Array_" data-uid="CodeJam.Collections.ArrayExtensions.Reverse(System.Array)">Reverse(Array)</h4>
  <div class="markdown level1 summary"><p>Reverses the sequence of the elements in the entire one-dimensional <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Reverse(this Array array)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional <span class="xref">System.Array</span> to reverse.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null. </p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is multidimensional. </p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Reverse_System_Array_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Reverse(System.Array%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L464">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Reverse_" data-uid="CodeJam.Collections.ArrayExtensions.Reverse*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Reverse_System_Array_System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.Reverse(System.Array,System.Int32,System.Int32)">Reverse(Array, Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Reverses the sequence of the elements in a range of elements in the one-dimensional <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Reverse(this Array array, int index, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Array</span></td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional <span class="xref">System.Array</span> to reverse.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the section to reverse.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The number of elements in the section to reverse.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.RankException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is multidimensional.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> do not specify a valid range in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Sort__1___0___.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Sort%60%601(%60%600%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L474">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Sort_" data-uid="CodeJam.Collections.ArrayExtensions.Sort*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Sort__1___0___" data-uid="CodeJam.Collections.ArrayExtensions.Sort``1(``0[])">Sort&lt;T&gt;(T[])</h4>
  <div class="markdown level1 summary"><p>Sorts the elements in an entire <span class="xref">System.Array</span> using the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implementation of each element of the <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Sort&lt;T&gt;(this T[] array)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to sort.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p>One or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code> do not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Sort%60%601(%60%600%5B%5D%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L485">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Sort_" data-uid="CodeJam.Collections.ArrayExtensions.Sort*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.ArrayExtensions.Sort``1(``0[],System.Collections.Generic.IComparer{``0})">Sort&lt;T&gt;(T[], IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements in an <span class="xref">System.Array</span> using the specified <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Sort&lt;T&gt;(this T[] array, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-base <span class="xref">System.Array</span> to sort</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface implementation to use when comparing elements, or null to use the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implementation of each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, and one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code> do not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p>The implementation of <code data-dev-comment-type="paramref" class="paramref">comparer</code> caused an error during the sort. For example, <code data-dev-comment-type="paramref" class="paramref">comparer</code> might not return 0 when comparing an item with itself.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Comparison___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Sort%60%601(%60%600%5B%5D%2CSystem.Comparison%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L494">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Sort_" data-uid="CodeJam.Collections.ArrayExtensions.Sort*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Comparison___0__" data-uid="CodeJam.Collections.ArrayExtensions.Sort``1(``0[],System.Comparison{``0})">Sort&lt;T&gt;(T[], Comparison&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements in an <span class="xref">System.Array</span> using the specified <span class="xref">System.Comparison&lt;T&gt;</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Sort&lt;T&gt;(this T[] array, Comparison&lt;T&gt; comparison)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to sort</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Comparison</span>&lt;T&gt;</td>
        <td><span class="parametername">comparison</span></td>
        <td><p>The <span class="xref">System.Comparison&lt;T&gt;</span> to use when comparing elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">comparison</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p>The implementation of <code data-dev-comment-type="paramref" class="paramref">comparison</code> caused an error during the sort. For example, <code data-dev-comment-type="paramref" class="paramref">comparison</code> might not return 0 when comparing an item with itself.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Sort%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L508">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Sort_" data-uid="CodeJam.Collections.ArrayExtensions.Sort*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Int32_System_Int32_" data-uid="CodeJam.Collections.ArrayExtensions.Sort``1(``0[],System.Int32,System.Int32)">Sort&lt;T&gt;(T[], Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements in a range of elements in an <span class="xref">System.Array</span> using the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implementation of each element of the <span class="xref">System.Array</span>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Sort&lt;T&gt;(this T[] array, int index, int length)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to sort</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the range to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The number of elements in the range to sort.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> do not specify a valid range in <code data-dev-comment-type="paramref" class="paramref">array</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p>One or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code> do not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Int32_System_Int32_System_Collections_Generic_IComparer___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.Sort%60%601(%60%600%5B%5D%2CSystem.Int32%2CSystem.Int32%2CSystem.Collections.Generic.IComparer%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L524">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_Sort_" data-uid="CodeJam.Collections.ArrayExtensions.Sort*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_Sort__1___0___System_Int32_System_Int32_System_Collections_Generic_IComparer___0__" data-uid="CodeJam.Collections.ArrayExtensions.Sort``1(``0[],System.Int32,System.Int32,System.Collections.Generic.IComparer{``0})">Sort&lt;T&gt;(T[], Int32, Int32, IComparer&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Sorts the elements in a range of elements in an <span class="xref">System.Array</span> using the specified <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Sort&lt;T&gt;(this T[] array, int index, int length, IComparer&lt;T&gt; comparer)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The starting index of the range to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">length</span></td>
        <td><p>The number of elements in the range to sort.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
        <td><span class="parametername">comparer</span></td>
        <td><p>The <span class="xref">System.Collections.Generic.IComparer&lt;T&gt;</span> generic interface implementation to use when comparing elements, or null to use the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface implementation of each element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentOutOfRangeException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> is less than the lower bound of <code data-dev-comment-type="paramref" class="paramref">array</code>.-or-<code data-dev-comment-type="paramref" class="paramref">length</code> is less than zero.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">index</code> and <code data-dev-comment-type="paramref" class="paramref">length</code> do not specify a valid range in <code data-dev-comment-type="paramref" class="paramref">array</code>. -or-The implementation of <code data-dev-comment-type="paramref" class="paramref">comparer</code> caused an error during the sort. For example, <code data-dev-comment-type="paramref" class="paramref">comparer</code> might not return 0 when comparing an item with itself.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.InvalidOperationException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">comparer</code> is null, and one or more elements in <code data-dev-comment-type="paramref" class="paramref">array</code> do not implement the <span class="xref">System.IComparable&lt;T&gt;</span> generic interface.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions_TrueForAll__1___0___System_Predicate___0__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions.TrueForAll%60%601(%60%600%5B%5D%2CSystem.Predicate%7B%60%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L535">View Source</a>
  </span>
  <a id="CodeJam_Collections_ArrayExtensions_TrueForAll_" data-uid="CodeJam.Collections.ArrayExtensions.TrueForAll*"></a>
  <h4 id="CodeJam_Collections_ArrayExtensions_TrueForAll__1___0___System_Predicate___0__" data-uid="CodeJam.Collections.ArrayExtensions.TrueForAll``1(``0[],System.Predicate{``0})">TrueForAll&lt;T&gt;(T[], Predicate&lt;T&gt;)</h4>
  <div class="markdown level1 summary"><p>Determines whether every element in the array matches the conditions defined by the specified predicate.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool TrueForAll&lt;T&gt;(this T[] array, Predicate&lt;T&gt; match)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>T[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional, zero-based <span class="xref">System.Array</span> to check against the conditions</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Predicate</span>&lt;T&gt;</td>
        <td><span class="parametername">match</span></td>
        <td><p>The <span class="xref">System.Predicate&lt;T&gt;</span> that defines the conditions to check against the elements.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true if every element in <code data-dev-comment-type="paramref" class="paramref">array</code> matches the conditions defined by the specified predicate; otherwise, false. If there are no elements in the array, the return value is true.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of the elements of the array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">array</code> is null.-or-<code data-dev-comment-type="paramref" class="paramref">match</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_ArrayExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Collections.ArrayExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Array/ArrayExtensions.Infix.cs/#L9" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
